package com.itheima.client;

import com.itheima.pojo.User;
import org.springframework.stereotype.Component;

//@Component
public class UserClientFallback implements UserClient {
    @Override
    public User findById(Integer id) {
        User user=new User();
        user.setName("异常");
        return user;
    }
}
